package cn.test.chap4;

/**
 * @author oldliu
 * @since 1.0
 */
public class Worker {
  private   String number;
  private String name;
  private int salary;

    public Worker(String number, String name, int salary) {
        this.number = number;
        this.name = name;
        this.salary = salary;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }
}
